package com.chuanyang.driverh.mainhome;


import android.os.Bundle;

import com.chuanyang.driverh.R;
import com.chuanyang.driverh.base.BaseTitleActivity;
import com.chuanyang.driverh.mainhome.fragment.CarPlanWaybilListFragment;

public class CarPlanWaybilListActivity extends BaseTitleActivity {
    private CarPlanWaybilListFragment mFragment;
//    private CarPlanWaybilListSlideFragment2 mFragment;
    private String orderId;

    public String getOrderId() {
        return orderId;
    }

    @Override
    protected int getContentResId() {
        return R.layout.base_single_fragment_activity;
    }

    @Override
    protected void initView(Bundle savedInstanceState) {

    }

    @Override
    protected void initData() {
        setBackImg();
        getTitleTextView().setText("运单列表");
        orderId=getIntent().getStringExtra("data");
        if (mFragment == null) {
            mFragment = new CarPlanWaybilListFragment();
        }
        getSupportFragmentManager().beginTransaction()
                .add(R.id.single_fragment_content, mFragment).commit();
    }

    @Override
    protected void initListener() {

    }



    @Override
    public void onBackPressed() {
        super.onBackPressed();
    }
}
